package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@TableName(value="hr_emp")
public class Hr_emp implements Serializable{
    //emp主键
    @TableId(value="emp_id",type= IdType.AUTO)
    private  int empId;

    //姓名
    private  String empName;

    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  Date empBirthdate;

    //性别
    private  String empSex;

    //工作状态
    private  String empWorkstatus;

    //证件类型
    private  String hrIdent;

    //证件编号
    private  String empPapersnum;

    //学历
    private  String empHigthEducation;

    //学位
    private  String empHigthDegree;

    //职位
    private  String empPosition;

    //民族
    private  String hrNation;

    //政治面貌
    private  String hrPolitical;

    //婚姻状况
    private  String empMaritalsta;

    //门禁号
    private  String empEntrancenum;

    //专业部
    private  String hrSpecialty;

    //执业类别
    private  String hrPractise;

    //执业证号码
    private  String empPracnum;

    //首次执业时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  Date empPracdate;

    //首次职业地
    private  String empPracsite;

    //资格证类别
    private  String hrCertify;

    //资格证编号
    private  String empCertifynum;

    //资格证取得方式
    private  String empGainway;

    //资格证取得地
    private  String empGainsite;

    //个人简介
    private  String empIntroduce;

    //入职时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  String empEntryDate;

    //社保号码
    private  String empSocialNum;

    //合同开始
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  Date empContStartdate;

    //合同截止
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  String empContEnddate;

    //是否参保
    private  String empInsured;

    //电话
    private  String empPhone;

    //照片
    private String empPicture;

    //地址
    private  String empSite;

    //手机号码
    private  String empContactPhone;

    //邮箱
    private  String empEmail;

    //邮政编码
    private  String empPostcode;

    //QQ
    private  String empQq;

    //微信
    private  String empWechat;

    private String empState;

}
